home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2635 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.0 KB

  1. Path: newsfeed.tip.net!usenet
  2. From: mats@plea.se (Mats Magnusson)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Lha bigger than contents
  5. Date: 2 Feb 1996 21:47:25 GMT
  6. Organization: Uniplus Internet Access
  7. Message-ID: <1607.6605T505T567@plea.se>
  8. References: <19960111.418EA0.E2DD@ak190.du.pipex.com> <68771048@0humpty.tomate.tng.oche.de>
  9. NNTP-Posting-Host: beatles.plea.se
  10. X-Newsreader: THOR 2.22 (Amiga;TCP/IP) *UNREGISTERED*
  11.  
  12.  
  13. >> : this is the second time now, I got an LhArc Archive, that is much bigger
  14. >> : than its contents. The arc I am talking about was 202442 bytes large,
  15. >> : 'LhA v fcout.pre' resulted in:
  16.  
  17. >> :       1002     381 61.9% 10-Jan-96 19:57:10   1 files
  18. >> Most likely the archive is corrupt. Try "LhA t fcout.pre" to test it.
  19.  
  20. >No, it isn't corrupt, at least not visible. It happened now a third time to
  21.  
  22. Well, i think that LHA doesn't read more of the file that the structrures
  23. of the file points. So if the last part of the file is added by some other
  24. way than using lha itself, lha won't notice that the file has grown in
  25. size. Maybe it's some fix to be able to extract files locaded on badly
  26. coded filesystems that don't report correct file sizes or EOF's.
  27.  
  28. Anyway, try to do a copy of the file, and try to remove something like a
  29. bit more than the file lha shows of it, just 'cut' the first part with
  30. something like CED or so, and then try to LHA V the resulting file.
  31. That's also something that LHA handles better than f.ex. ZIP or others, lha
  32. can find the packed files and extract them correctly even if you only have
  33. some middle-chunk of the whole file.
  34.  
  35. A possible reason for the file being 'enlarged' is that some stupid BBS has
  36. added file descriptions or so, and only looks at the file extention to
  37. choose what 'packer' to use, and then uses some obscure thing if the file
  38. is named .pre, similar has happend to me, try to rename an lhx file to
  39. .lha, or otherway, and upload it on some 'elite' bbs, and download it, and
  40. look what's happend. Sometimes nothing can be de-archied of the file
  41. anymode :(
  42.  
  43.